<?php

class Database
{
	protected $link;

	function __construct()
	{
        require ('../config/config.php');
    	$this->link = mysql_connect($dbhost,$dbuser,$dbpassword);
    	mysql_select_db($dbname,$this->link);
		mysql_query("set names utf8");
	}
}

?>